package com.sy.service;

import com.sy.entity.Admin;
import com.sy.entity.User;
import com.sy.vo.LoginVo;
import org.springframework.stereotype.Service;

public interface AdminService {

    void sendValidateCode(String phone);

    Admin loginByName(String adminName,  String pwd);

    Admin loginByPhone(String phone, String validateCode);

}
